package com.itheima.AtomThread;

public class AtomThread implements Runnable {
    private int count = 0;//送冰激凌的数量

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            count++;
            System.out.println("已经送了"+count+"个冰激凌");
        }
    }
}
